cod_display_icon

Syntax

native cod_display_icon(id, const icon[], enable = false, red = 0, green = 0, blue = 0);

Usage

id
Player index, use 0 to display to all players
icon
Status icon name
enable
If true will show icon, otherwise hide it
red
Red component of icon color, value 0 to 255
green
Green component of icon color, value 0 to 255
blue
Blue component of icon color, value 0 to 255

Description

Displays status icon.

Note

All icons can be found here: https://forums.alliedmods.net/showthread.php?t=52529.

Return

This function has no return value.